#ifndef MYCHILDWIDGET_H
#define MYCHILDWIDGET_H

#include <QWidget>

class MyChildWidget : public QWidget
{
    Q_OBJECT
public:
    explicit MyChildWidget(QWidget *parent = 0);
    ~MyChildWidget();

protected:
    virtual void paintEvent(QPaintEvent *event);

    virtual void mousePressEvent(QMouseEvent *event);
    virtual void mouseMoveEvent(QMouseEvent *event);
    virtual void mouseReleaseEvent(QMouseEvent *event);



signals:

public slots:
};

#endif // MYCHILDWIDGET_H
